package com.iflytek.cosmo.ocr.dao;

import com.iflytek.cosmo.ocr.model.entity.MacLicenseEntity;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface MacLicenseDao extends Mapper<MacLicenseEntity> {
    /**
     * 批量绑定mac和授权码
     *
     * @param macLicenseList
     * @return
     */
    int insertBatch(List<MacLicenseEntity> macLicenseList);

    /**
     *
     * @return 分组后的授权码集合
     */
    List<String> getClientNum();
}